package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.HisEngineRuleMedicine;

/**
 * 药物规则Service接口
 * 
 * @author Alan
 * @date 2024-03-07
 */
public interface IHisEngineRuleMedicineService 
{
    /**
     * 查询药物规则
     * 
     * @param id 药物规则主键
     * @return 药物规则
     */
    public HisEngineRuleMedicine selectHisEngineRuleMedicineById(Long id);

    /**
     * 查询药物规则列表
     * 
     * @param hisEngineRuleMedicine 药物规则
     * @return 药物规则集合
     */
    public List<HisEngineRuleMedicine> selectHisEngineRuleMedicineList(HisEngineRuleMedicine hisEngineRuleMedicine);

    /**
     * 新增药物规则
     * 
     * @param hisEngineRuleMedicine 药物规则
     * @return 结果
     */
    public int insertHisEngineRuleMedicine(HisEngineRuleMedicine hisEngineRuleMedicine);

    /**
     * 修改药物规则
     * 
     * @param hisEngineRuleMedicine 药物规则
     * @return 结果
     */
    public int updateHisEngineRuleMedicine(HisEngineRuleMedicine hisEngineRuleMedicine);

    /**
     * 批量删除药物规则
     * 
     * @param ids 需要删除的药物规则主键集合
     * @return 结果
     */
    public int deleteHisEngineRuleMedicineByIds(Long[] ids);

    /**
     * 删除药物规则信息
     * 
     * @param id 药物规则主键
     * @return 结果
     */
    public int deleteHisEngineRuleMedicineById(Long id);
}
